# 导包
import time
from selenium import webdriver
from selenium.webdriver.common.by import By
# 创建浏览器驱动
driver = webdriver.Chrome(executable_path='chromedriver.exe')
# 获取访问页面
driver.get("http://121.43.169.97:8848/pageA.html")
#定位元素并输入内容
driver.find_element(By.XPATH,"/html/body/div/fieldset/form/p[1]/input").send_keys("admin")